<template>
	<view class="currency_card">
		<view class="Card">
			<image :src="data.patientAvatar" mode=""></image>
			<view class="">
				<view class="doctorName">
					{{data.patientName}} <text>{{data.patientSex==1?'男':'女'}}</text>
					<text class="Realname">{{data.idCardDesensitize?'已实名':'未实名'}}</text>
				</view>
				<view class="IdCard">
					{{data.patientAge||data.age}}岁
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props: ['data'],
		data() {
			return {}
		},

		created() {

		},
		methods: {}
	}
</script>

<style lang="less" scopde>
	.currency_card {
		margin: auto;
	}

	.Card {
		display: flex;
		align-items: center;
		padding: 10rpx 20rpx;

		.doctorName {
			font-weight: bold;
			font-size: 32rpx;
			color: #333333;

			text {
				margin-left: 19rpx;
				font-size: 24rpx;
				color: #333;
				font-weight: normal;
			}

		}

		.IdCard {
			margin-top: 9rpx;

			text {
				display: inline-block;
				background: #DEF7ED;
				padding: 5rpx 10rpx;
				border-radius: 10rpx;
				color: #23CC88;
				margin-right: 10rpx;
			}

			font-size: 24rpx;
			color: #666666;
		}

		image {
			width: 90rpx;
			height: 90rpx;
			margin-right: 33rpx;
			border-radius: 50%;
		}
	}
</style>